package com.infore.airsupervise.biz;

import com.infore.airsupervise.bean.QuestionE;
import com.infore.airsupervise.http.BaseResponse;
import com.infore.airsupervise.http.OnServerResponseListener;

import java.util.List;

import retrofit2.Call;

/**
 * @features: 问题上班相关业务处理接口
 * @author: WuTao
 * @date: 2017/4/13 09:00
 */
public interface QuestionDealBiz {

    /**
     * 发送获取问题列表的请求
     * @return
     */
    Call<BaseResponse> sendQuestionListRequest(OnServerResponseListener<List<QuestionE>> listener);

    /**
     * 发送提交问题上报的请求
     * @param userId
     * @param questionE
     * @param listener
     * @return
     */
    Call<BaseResponse> sendQuestionCommitRequest(String userId , QuestionE questionE, List<String> files, OnServerResponseListener<BaseResponse> listener);
}
